home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Games Collection 1
/
software vault.zip
/
software vault
/
CDR06
/
TWCAPD10.ZIP
/
TWCAPD.DOC
next >
Wrap
Text File
|
1993-04-12
|
18KB
|
600 lines
▄
████████ ██ ██ ▄█████▄ ███████ █████▄ █████▄
██ ██ ██ ██▀ ▀▀▀ ██ ██ ██ ██ ██ ██
██ ██ ▄█▄ ██ ██ ███████ ██▄▄▄█▀ ██ ██
██ ██ ██ ██ ██ ██▄ ▄▄▄ ██ ██ ██▀▀▀ ██ ██
██ ▀███ ███▀ ▀█████▀ ███ ███ ██ █████▀
Version 1.0
Trade Wars 2002 Capture Door
by Albin Gersich
(C) Copyright 1993 - Sasquatch Software
╔════════════════════════════════════════════════════════════════════════════╗
║ Table of Contents ║
╚════════════════════════════════════════════════════════════════════════════╝
1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1 Features . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Disclaimer . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.3 Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 4
1.4 Files . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
1.5 Trademarks . . . . . . . . . . . . . . . . . . . . . . . . . 5
1.6 Compatibility . . . . . . . . . . . . . . . . . . . . . . . 5
1.7 Support and Distribution . . . . . . . . . . . . . . . . . . 6
1.8 Licensing (Free) . . . . . . . . . . . . . . . . . . . . . . 6
2 Command Format . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3 Configuration File . . . . . . . . . . . . . . . . . . . . . . . . 8
4 Using TWCAPD . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
5 Error Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
6 Future Plans . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Page 2
╔════════════════════════════════════════════════════════════════════════════╗
║ Section 1 Introduction ║
╚════════════════════════════════════════════════════════════════════════════╝
I got the idea for this door from a message Rick Blackwell posted in the
Fido national TW echo. A sysop of one of the boards he plays on setup my
Trade Wars 2002 capture (TWCAP) program, which was developed for local
players to capture data to use with the offline player utilities, as a menu
selection so all players could use it and download a file. I thought that
was a neat idea. Humm, a nice recipe for a door. Take my TWCAP program,
add in OpenDoors (a nice door library), stir. Mix in a little spice and
simmer to get the flavor just right.
This door allows the user to capture some of the TW2002 game reports
without entering the game. Users who can not enter computer interrogation
mode in the game (because their computer does not support the ALT sequence
or their communications programs intercepts the ALT keys) can use this door
to get the data. For players who can capture the data inside the game this
door provides an alternate and convenient method for capturing the reports
You can even use this door while remaining cloaked in the game.
This door can be used by local or remote players and replaces my other
TWCAP program. The Trade Wars data files will be read and the following
reports can be created:
View Game Status
Deployed Fighter Scan
Deployed Mine Scan
Avoided Sectors
CIM Sector Report
CIM Port Report
They are the reports used by TWASSIST v1.0 but the data can be used with
other utilities. The file will look just like it had been captured during
a game session.
░▒▓█ 1.1 █▓▒░ Features
Supports many types of drop files allowing it to run on a wide variety
of BBSes.
Easy to setup, whether single line or multi-line.
Local option for use without a drop file.
DESQview aware. CPU time is given up while waiting for input.
Error levels upon door exit for those who wish to monitor things like
drop-carriers, keyboard inactivity timeout, etc.
Sysop shell to DOS uses EMS memory if available.
Writes to a log file on who used the door and any error info.
Page 3
░▒▓█ 1.2 █▓▒░ Disclaimer
The TWCAPD package is provided AS IS. Sasquatch Software makes no
warranty, either expressed or implied, with respect to the software or
documentation, including but not limited to their quality, performance,
merchantability, or fitness for a particular purpose. In no event will
Sasquatch Software or the author be liable for direct, indirect, special,
incidental, or consequential damages arising out of the use, misuse, or
inability to use the software or documentation, even if advised of the
possibility of such damages.
░▒▓█ 1.3 █▓▒░ Acknowledgements
I would like to give thanks to Gary and Mary Ann Martin of Martech
Software, Inc. for the game Trade Wars 2002. It has provided me with
hours upon hours of entertainment and excitement.
And to Jason Boyd for providing the formats to the Trade Wars 2002 data
files which helped in the development of the original Trade Wars 2002
Capture program this door is based on.
Thanks also to Rick Blackwell for posting the message that gave me the
idea for this door.
And thanks to Brian Pirie for OpenDoors. A nice C door library which
made developing this door very easy. I probably wouldn't have done it
without OpenDoors.
I would also like to acknowledge Dan Roseen for running a few tests for
me and allowing me to distribute and support this door through his BBS.
░▒▓█ 1.4 █▓▒░ Files
The TWCAPD version 1.0 package (TWCAPD10.ZIP) contains the following files:
TWCAPD .DOC 18233 04-12-93 1:00a This document
TWCAPD .EXE 104458 04-12-93 1:00a The executable program
TWCAPD .HLP 2848 04-12-93 1:00a On-line help file.
Other files used by the program:
TWCAPD .CFG The configuration file for the door. Must be located
in the same directory as the executable.
TWCAPD .LOG The door's log file. Located in the TW directory.
Contains information about who used the door and any
errors encountered.
TWCAPD .TXT This is the temporary file created for user downloads.
The file is created in the TW directory and deleted
when done.
Page 4
░▒▓█ 1.5 █▓▒░ Trademarks
IBM is a trademark of International Business Machines Corporation.
MS-DOS is a registered trademark of Microsoft Corporation.
░▒▓█ 1.6 █▓▒░ Compatibility
Trade Wars 2002:
This program has been tested for compatibility with Trade Wars 2002
v1.03d, a door game by Martech Software Inc. It should be compatible
with v1.03 but has not been tested with it. Compatibility with other
versions or modified games is not guaranteed.
Operating system:
TWCAPD runs on an IBM or 100% compatible PC or AT running DOS. It
has been tested under MS-DOS version 5.0. Compatibility with other
versions or operating systems is not guaranteed.]
Multitasking
TWCAPD has been tested under DESQview version 2.41 and QEMM version
6.01. TWCAPD will share CPU time slices when run under DESQview.
Fossil driver:
TWCAPD requires the BBS to be running a fossil driver when used
remotely. Two common ones are BNU and X00.
Supported drop files:
DORINFOn.DEF (only if -n node option is used on command line)
DORINFO1.DEF
CHAIN.TXT
SFDOORS.DAT
DOOR.SYS
CALLINFO.BBS
EXITINFO.BBS *
* Only the standard EXITINFO.BBS file is supported. Larger files (over
476 bytes) used by some BBSes (e.g. RA, QBBS) will be ignored. This
way BBS specific changes in this file will not cause problems with the
door. For example, on a RA BBS the DORINFO1.DEF file will be read but
the EXITINFO.BBS file will be ignored so it will run under RA v1.x and
RA v2.0 eventhough the EXITINFO.BBS file was changed between the two RA
versions.
Page 5
░▒▓█ 1.7 █▓▒░ Support and Distribution
New releases of TWCAPD can be downloaded or file-requested from Dan
Roseen's BBS, The Night Owl, as shown below. If you are logging in you will
have to fill out a new user questionnaire. Once you have done this you will
have enough access to download TWCAPD without complete user verification.
If you are experiencing problems, call The Night Owl BBS or write to the
address below. Provide a detailed description of the problem and any data
related to the problem. If you send mail on The Night Owl, send it to the
author, Albin Gersich. The sysop is not responsible for support of TWCAPD
so do not bother him with messages or chats. A special message area for
another program, TWASSIST, by the same author has been setup. You may use
this message area to send mail to the author. This area has file attach
capability, allowing you to attach files of interest to your message.
Mail can be sent to:
Sasquatch Software
P.O. Box 4331
Kent, WA 98032
Support and Distribution:
─────────────────────────
Sysop: Dan Roseen (not the author)
BBS: The Night Owl
Fidonet: 1:343/102
Login: (206)631-4949 24 Hrs. Kent, WA - USA
1200/2400
Mail/FREQ: 1:343/102 (this node is NOT for login)
USRobotics DS HST/V.32bis/V.42bis
Comment: For downloading latest version: Download TWCAPD*.ZIP
For file-requesting: Use the magic name "TWCAPD"
or request TWCAPD*.ZIP
░▒▓█ 1.8 █▓▒░ Licensing (Free)
The software and documentation is copyrighted and is protected by United
States copyright laws and international treaty provisions. All rights
are reserved by Sasquatch Software. The software is owned by Sasquatch
Software and title remains in Sasquatch Software. You may distribute
the program as long as the entire package (as described in the section
titled Files) is distributed together and no fee is charged for the
software (a nominal distribution or shipping fee is ok). You may not
decompile, disassemble, modify, merge, or reverse engineer the software
in any way.
TWCAPD is free. You are granted a license to use the software
indefinitely. No consideration is required or expected. Contributions
to provide incentive for the development of utilities are appreciated.
They may be sent to the mail address above.
Page 6
╔════════════════════════════════════════════════════════════════════════════╗
║ Section 2 Command Format ║
╚════════════════════════════════════════════════════════════════════════════╝
NOTE: Options are recognized with either a dash (-) or a slash (/) as the
first character.
TWCAPD [-n node] [-local "USER NAME"] [-tw directory]
-n node Tells the door which node it is running on. Only useful
if the door drop file does not have the node number or for
a BBS that uses a DORINFO?.DEF drop file where ? is a
number other than 1. For most BBSes this option is not
needed.
-local "USER NAME" If you want to run in local mode without creating a
drop file. In this case you must supply the user name
to find in the Trade Wars data files. Without a drop
file TWCAPD will not know the name of the BBS. In this
case the View Game Status report will show "SOMETHING"
as the name of the BBS.
-tw directory Specify the location of the Trade Wars data files. This
overrides the config file entry. If not specified by this
option or in the config file the default is to check the
current directory and then the directory where the TWCAPD
executable resides. The TW directory is also used for
the temporary TWCAPD.TXT file created before the user
downloads it.
Trade Wars 2002 does not support multiple users at the same time and
neither does TWCAPD. Multi-node BBSes will want to use the same locking
mechanism on TWCAPD as is used to keep multiple people out of TW. This will
prevent anyone from using TWCAPD to access the TW data files at the same
time someone is using them in the game, and vice-versa.
Page 7
╔════════════════════════════════════════════════════════════════════════════╗
║ Section 3 Configuration File ║
╚════════════════════════════════════════════════════════════════════════════╝
Three things can be specified in a configuration file. First is the
inactivity timeout in seconds, second the pathname to DSZ, or other file
transfer program command line compatible with DSZ, used for downloads, and
third is the TW directory. The configuration file name is TWCAPD.CFG and
must be located in the same directory as the executable. Sample TWCAPD.CFG:
240
DSZ
\tw
If the configuration file does not exist these defaults will be used:
Inactivity timeout: 240 seconds
DSZ pathname: DSZ
TW directory: current directory or the directory containing
the TWCAPD executable.
The TW directory specification is to simplify use on BBSes that have only
one TW game. The command line argument will override the directory in the
config file allowing the door to be used on a test game in special cases
or on boards with multiple TW games.
Page 8
╔════════════════════════════════════════════════════════════════════════════╗
║ Section 4 Using TWCAPD ║
╚════════════════════════════════════════════════════════════════════════════╝
TWCAPD is easy to setup whether your BBS is single line or multi-line.
You may locate the TWCAPD files anywhere. See the earlier section on
setting up the configuration file. For a single line BBS simply have the
BBS menu execute TWCAPD. For example:
C:\TW\TWCAPD.EXE
TWCAPD will look for the drop file in the current directory and read the
configuration file for the pathname to DSZ and the TW directory. If the
BBS has multiple TW games then setup separate menu selections for each
one specifying the TW directory for that menu item. For example:
C:\TW\TWCAPD.EXE -TW C:\TW2
A multi-line BBS can use the same approach as for the single line BBS
except you will want to employ a locking mechanism to keep more than one
user from accessing the TW game data files at the same time, the same
way you keep more than one user from playing the game at the same time.
Use the same locking mechanism for TWCAPD as is used for TW. This will
keep users from accessing TWCAPD when someone is playing TW and vice-versa.
It is unknown what will happen to the games data if TWCAPD is run at the
same time a player is in the game modifying the files.
TWCAPD may also be used locally from DOS. Maybe for gathering data on
a test game. When run from DOS without a drop file your user name must
be supplied on the command line. For example:
C:\TW\TWCAPD.EXE -LOCAL "Albin Gersich" -TW C:\TEST_TW
╔════════════════════════════════════════════════════════════════════════════╗
║ Section 5 Error Levels ║
╚════════════════════════════════════════════════════════════════════════════╝
TWCAPD will exit with different error levels depending on the reason for
the exit. The error levels are as follows:
0 - A critical error has occurred
1 - Carrier lost, user off-line
2 - Sysop terminated call, user off-line
3 - User time used up, user STILL ON-LINE
4 - Keyboard inactivity timeout, user off-line
10 - User not found in TW data file.
20 - An error prevented the door from running.
50 - User requested exit.
Page 9
╔════════════════════════════════════════════════════════════════════════════╗
║ Section 6 Future Plans ║
╚════════════════════════════════════════════════════════════════════════════╝
There are no plans for future versions of TWCAPD.
Comments and suggestions can be sent through the Fidonet Trade Wars echo
to Albin Gersich. To report a problem, send a detailed letter or message
to the author on The Night Owl BBS. Refer to the section on Support and
Distribution for more information.
Page 10